fix(release): move pnpm overrides + patchedDependencies to pnpm-workspace.yaml#558
Merged
Merged
Conversation
…pace.yaml pnpm v11 stopped reading settings from the \`pnpm\` field of \`package.json\` (https://github.com/pnpm/pnpm/releases/tag/v11.0.0). Settings have to live in \`pnpm-workspace.yaml\` instead. The repo's \`packageManager\` was bumped from pnpm v10 to v11.1.1 in #550, but the two settings under the \`pnpm\` key — \`overrides\` and \`patchedDependencies\` — weren't moved, so they've been silently ignored ever since. The \`abbrev\` override is benign, but the missing \`@changesets/assemble-release-plan\` patch is the cause of PR #554's broken bumps (anthropic 0.8.6 → 1.0.0 instead of → 0.9.0, gemini 0.10.3 → 1.0.0 instead of → 0.11.0, etc.). The patch short-circuits \`shouldBumpMajor\` for any \`peerDependencies\` change so peer-only bumps don't cascade into major bumps across the workspace. Verified locally with \`rm -rf node_modules && pnpm install\`: the patch is now applied (the early-return \`if (depType === 'peerDependencies')\` is present in \`node_modules/.pnpm/@changesets+assemble-releas_<hash>/node_modules/@changesets/assemble-release-plan/dist/changesets-assemble-release-plan.cjs.js\`). Once this lands, the changesets workflow on the next push to main will regenerate \`changeset-release/main\` with the correct minor bumps.
Contributor
🚀 Changeset Version Preview14 package(s) bumped directly, 20 bumped as dependents. 🟥 Major bumps
🟨 Minor bumps
🟩 Patch bumps
|
|
View your CI Pipeline Execution ↗ for commit 5bcf4af
☁️ Nx Cloud last updated this comment at |
|
View your CI Pipeline Execution ↗ for commit 5bcf4af
☁️ Nx Cloud last updated this comment at |
@tanstack/ai
@tanstack/ai-anthropic
@tanstack/ai-client
@tanstack/ai-code-mode
@tanstack/ai-code-mode-skills
@tanstack/ai-devtools-core
@tanstack/ai-elevenlabs
@tanstack/ai-event-client
@tanstack/ai-fal
@tanstack/ai-gemini
@tanstack/ai-grok
@tanstack/ai-groq
@tanstack/ai-isolate-cloudflare
@tanstack/ai-isolate-node
@tanstack/ai-isolate-quickjs
@tanstack/ai-ollama
@tanstack/ai-openai
@tanstack/ai-openrouter
@tanstack/ai-preact
@tanstack/ai-react
@tanstack/ai-react-ui
@tanstack/ai-solid
@tanstack/ai-solid-ui
@tanstack/ai-svelte
@tanstack/ai-utils
@tanstack/ai-vue
@tanstack/ai-vue-ui
@tanstack/openai-base
@tanstack/preact-ai-devtools
@tanstack/react-ai-devtools
@tanstack/solid-ai-devtools
commit: |
AlemTuzlak
added a commit
that referenced
this pull request
May 14, 2026
(corrected — pnpm v11 was ignoring the changesets patch; see #558)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm v11 stopped reading settings from the
pnpmfield ofpackage.json(release notes). Settings now have to live inpnpm-workspace.yamlinstead. The repo'spackageManagerwas bumped from pnpm v10 to v11.1.1 in #550, but the two settings under thepnpmkey —overridesandpatchedDependencies— weren't moved, so they've been silently ignored ever since.The
abbrevoverride is benign. The missing@changesets/assemble-release-planpatch is the cause of #554's broken version bumps:@tanstack/ai-anthropic: 0.8.6 → 1.0.0 (should be → 0.9.0)@tanstack/ai-gemini: 0.10.3 → 1.0.0 (should be → 0.11.0)@tanstack/ai-ollama: 0.6.13 → 1.0.0 (should be → 0.7.0)The patch short-circuits
shouldBumpMajorfor anypeerDependencieschange so peer-only updates don't cascade into major bumps across the workspace.Verification
Shows the patched
if (depType === 'peerDependencies') return false;early-return is now present.Test plan
pnpm installfrom clean state applies the patchpnpm test:knip/pnpm test:sherifpass